clear all
use JC_Penney_Comparison

***Witihin firm standard deviation in churn was around 0.05; for clothing more like 0.04
**Increase in chshare for JCP was 0.07 (nearly 2 SDs)
egen sd = sd(chshare), by(gvkey)
sum sd if category=="Clothing & Shoes",d
sum sd,d

egen sd2 = sd(chshare_norm_sic1), by(gvkey)
sum sd2 if category=="Clothing & Shoes",d
sum sd2,d

label var chshare_norm_sic1 "Churn Normalized by 1-Digit SIC"
label var yq "Year-Quarter"

STOP STOP STOP 

***Figure A.5
twoway (scatter chshare_norm_sic1  yq if gvkey==8446  & year!=2015, xline(208))

